package M807;

import java.util.Scanner;

//第七题
public class M80707 {
    public static void main(String[] args) {
        Scanner in=new Scanner(System.in);
        int m=0;
        int i=1;
        do {
            System.out.println("请输入第"+i+"个数");
            int num =in.nextInt();
            m=num+m;
            i++;
        }while (i<=10);
        System.out.println(m);
    }
}
